extends ./main_temp

block panelBody
          <div class="panel-body text-center" id="table_div">
            <form class="form-horizontal" style="margin-top:3%" method="post" action="/save.do">
              <div class="form-group">
                  <label  class="col-sm-4 control-label" >id</label>
                    <div class="col-sm-8">
                  input.form-control(type='text' name='id' value=`${editObj.id ? editObj.id : "" }` placeholder='id' readonly unselectable="on")
                  </div>
              </div>
              <div class="form-group">
                <label  class="col-sm-4 control-label" >名称</label>
                <div class="col-sm-8">
                   input.form-control(type='text' name='name' value=`${editObj.name ? editObj.name : "" }` placeholder='名称')
                </div>
              </div>
                  <div class="form-group">
                    <label  class="col-sm-4 control-label" >简介</label>
                    <div class="col-sm-8">
                      input.form-control(type='text' name='dorm' value=`${editObj.introduction ? editObj.introduction : "" }` placeholder='简介')
                    </div>
                  </div>
              <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                  <button type="submit" class="btn btn-sussces">保存</button>
                </div>
              </div>
            </form>
          </div>
block append scripts
    script(src="/js/common.js")
    script(src="/js/stu/stuM.js")